package com.hdsx.design.softdesign.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 占贤银
 * time 2024/8/23 16:22
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class Employee {

    public void checkNumberOfCourse() {
        List<Course> courses = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courses.add(new Course());
        }
        System.out.println("发布到线上的课程数量：" + courses.size());
    }
}
